package com.example.helloworld.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description: hello world
 *
 * @author yuanma
 * @version 1.0
 * @date: 2018/7/20 14:21
 * @since JDK 1.8
 */
@RestController
@RequestMapping("/")
public class HelloWorldController {

	@RequestMapping("/hello")
	public String hello() {
		return "hello world";
	}

}
